﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportOrder.aspx.cs" Inherits="Export.Web.Ui.pages.ImportNDPrice" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">

        function CloseAndReloadParent() {
            window.close();
            if (window.opener && !window.opener.closed) {
                window.opener.location.reload();
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    Please Select the excel file: 
        <asp:FileUpload ID="FileUpload1" runat="server" />
    
        <asp:Button ID="bthUploadExcel" runat="server" Text="Upload" 
            onclick="bthUploadExcel_Click" />
                <br/>
            <asp:Literal ID="LiteralReport" runat="server"></asp:Literal>
            <br/>
            <asp:Button OnClientClick="CloseAndReloadParent();" ID="btnCloseButton"
                runat="server" Text="Close" Visible="False" />
    
    </div>
    </form>
</body>
</html>
